From ee3094cb805c4be8d75a23299282a748f5818111 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Thu, 9 Feb 2023 15:32:06 -0300 Subject: [PATCH] freeswitch: allow building with OpenSSL 3.0 Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of deprecated API. Signed-off-by: Eneas U de Queiroz (cherry picked from commit 09ad78b6cce247f4e610be006d89dfe70003aa58) --- net/freeswitch/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 799ccb0..62896f4 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -237,6 +237,9 @@ FS_PERL_FEED:=$(TOPDIR)/feeds/packages/lang/perl include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk include $(FS_PERL_FEED)/perlver.mk +# Allow compiling with OpenSSL 3.0 +TARGET_CFLAGS+=-Wno-error=deprecated-declarations + PERL_SITELIB:=/usr/lib/perl$(PERL_MAJOR)/$(PERL_VERSION2) FS_PERL_LIBS:=$(shell grep "^libs=" \ -- 2.30.2